<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="tenantCss" jsFile="tenantJs" current="商户信息">
    <div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
                <div class="page-title">
                    <h1>商户信息管理
                        <small>商户功能模块页面</small>
                    </h1>
                </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD -->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">商户信息管理</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="col-md-12 col-sm-12 search-form">
                <form id="tenantSearchForm" action="" method="post">
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">商家名称</span>
                        <input name="business_name" class="form-control" placeholder="商家名称"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">商家标识</span>
                        <input name="business_mark" class="form-control" placeholder="商家标识"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">法人姓名</span>
                        <input name="business_legal" class="form-control" placeholder="法人姓名"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">证件类型</span>
                        <select name="papers_type" id="papers_type" class="form-control" placeholder="证件类型" >
                        		<option  value=""   >请选择</option>
                        		<option value="IDENTITYCARD"    >身份证</option>
					            <option value="OFFICER" >军官证</option>
					            <option value="POLICE" >警官证</option>
					            <option value="HOUSEHOLD"  >户口本</option>
					            <option value="PASSPORT"  >护照</option>
					            <option value="TEMPORARY" >临时证件</option>
					            <option value="OTHER" >其它</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">证件号码</span>
                        <input name="papers_num" class="form-control" placeholder="证件号码"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">联系人</span>
                        <input name="business_contacts" class="form-control" placeholder="联系人"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">邮箱</span>
                        <input name="email" class="form-control" placeholder="邮箱"></input>
                    </div>
                    <div class="search-item input-group col-md-12 col-sm-12">
                    	<div class="col-md-offset-5">
                            <a href="javascript:;" class="btn btn-success " name="search" id="menuSearch">查询</a>
                            <a href="javascript:;" class="btn btn-default " name="reset" id="menuReset">清空</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12 col-sm-12">
                <!-- BEGIN PORTLET-->
                <div class="portlet light bordered">
                    <div class="portlet-title">
                        <div class="caption">
                            <a href="${context}/businessInfo/toBusinessAdd" class="btn btn-success" id="btnCreateTenant">创建商户信息</a>
                            <a  class="btn btn-success" id="openSubAccount">开通子账户</a>
                            <!-- <i class="icon-layers font-green"></i>
                            <span class="caption-subject font-green bold uppercase">列表</span> -->
                        </div>
                        <div class="tools"> </div>
                    </div>
                    <div class="portlet-body">
                        <div class="caption">
                            <div id="tips" class="tips"></div>
                        </div>
                        <table class="table table-striped table-bordered table-hover" id="tenantList">
                            <thead>
                                <tr role="row" class="heading">
                                	<th>
                                        <input type="checkbox" class="group-checkable" data-set="#tenantList .checkboxes" /> 
                                    </th>
                                    <th> 商家名称 </th>
                                    <th> 法人 </th>
                                    <th> 证件号码 </th>
                                    <th> 联系人 </th>
                                    <th> 手机号 </th>
                                    <th> 备注 </th>
                                    <th> 子账户 </th>
                                    <th> 状态 </th>
                                    <th> 操作 </th>
                                </tr>
                            </thead>
                            <tbody>
                              
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- END PORTLET-->
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
        
    </div>
</@page.mainTemplate>